error 0x800f0831 when updating windows 10 21H2

MAHINC Christophe 1 Reputation point
2022-09-17T21:28:41.477+00:00

Hi All,

It's been now weeks I am struggling with an update on windows 10 version 21H2 I really need to install a sofware for my work.

I have copied part of the logs but I don't know how to fix the missing part....

your help will be highly appreciated :)

Many thx

Store corruption, manifest missing for package: Microsoft-Windows-CoreEdition~31bf3856ad364e35~amd64~~10.0.19041.985
2022-09-17 22:35:58, Error CBS Failed to resolve package 'Microsoft-Windows-CoreEdition~31bf3856ad364e35~amd64~~10.0.19041.985' [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]
2022-09-17 22:35:58, Info CBS Mark store corruption flag because of package: Microsoft-Windows-CoreEdition~31bf3856ad364e35~amd64~~10.0.19041.985. [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]
2022-09-17 22:35:58, Info CBS Failed to resolve package: Microsoft-Windows-CoreEdition~31bf3856ad364e35~amd64~~10.0.19041.985 [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]
2022-09-17 22:35:59, Info CBS Package Format: PSFX

Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,912 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Dillon Silzer 54,831 Reputation points
    2022-09-17T21:34:58.457+00:00

    Hi @MAHINC Christophe

    Try the following in cmd prompt (Run As Adminstrator):

    1) DISM /Online /Cleanup-Image /RestoreHealth

    2) sfc /scannow

    After the commands have been completed, try updating Windows 10.


    If this is helpful please accept answer


  2. Docs 15,226 Reputation points
    2022-09-18T06:04:57.47+00:00

    Please perform an in place upgrade repair.

    https://www.tenforums.com/tutorials/16397-repair-install-windows-10-place-upgrade.html

    Before performing the in place upgrade please perform the following steps:

    1) Uninstall any of these non-Microsoft software using the applicable uninstall tool:
    a) antivirus
    b) firewall
    c) drive encryption

    2) Disconnect non-essential hardware:
    (only have attached one monitor, mouse, and keyboard)
    (disconnect all non-windows drives)

    3) Place the computer into clean boot:
    https://www.tenforums.com/tutorials/41804-perform-clean-boot-windows-10-troubleshoot-software-conflicts.html

    4) Perform the in place upgrade repair without connecting to the internet (use the Windows 10 iso on a bootable Media Creation Tool (MCT))

    https://www.tenforums.com/tutorials/2376-create-bootable-usb-flash-drive-install-windows-10-a.html
    https://www.tenforums.com/tutorials/9230-download-windows-10-iso-file.html
    https://www.microsoft.com/en-us/software-download/windows10

    5) For any in place upgrade failure run:
    https://www.tenforums.com/bsod-crashes-debugging/162488-batch-files-use-bsod-debugging-post2067853.html#post2067853

    .
    .
    .
    .
    .

    Please remember to vote and to mark the replies as answers if they help.

    On the bottom of each post there is:

    Propose as answer = answered the question

    On the left side of each post there is /\ with a number: click = a helpful post
    .
    .
    .
    .
    .

    0 comments No comments

  3. M-R 0 Reputation points
    2024-05-14T09:08:34.16+00:00
    0 comments No comments